$(function() {
    $.getJSON(ApiUrl + "/index.php?act=index&op=wap_Index", function(e) {
        if (!e) {
            e = [];
            e.datas = [];
            e.datas.goods_list_sc = [];
            e.datas.goods_list_ct = [];
            e.datas.goods_list_sl = [];
            e.datas.goods_list_bj = [];
            e.datas.goods_list_bg = [];
            e.datas.goods_list_cj = [];
        }
        $("#sicang").html(template.render("sicang-list", e.datas));
        $("#chuantong").html(template.render("chuantong-list", e.datas));
        $("#songli").html(template.render("songli-list", e.datas));
        $("#baijian").html(template.render("baijian-list", e.datas));
        $("#bigua").html(template.render("bigua-list", e.datas));
        $("#chaju").html(template.render("chaju-list", e.datas));
    })
});
